[Epic] Payments V1: PayEngine Integration

Repo: · Issue: #351 Status: Open · Priority: P2 Assignee: Unassigned

Description

Continuation of https://github.com/Twill-AI/facade/issues/308. We would be able to bring merchants to the platform at the end of this epic.

Minimal effort payments execution scope. We are hoping to archive this “lean payments support” with following limitations/requirements:

  • Flexible “generated by LLM” widgets are out of scope.
  • Don’t make LlmEngine be “specifically” intelligent about “payments” data. Just generate hardcoded widgets.
  • Be able to make transactions/invoices and show hardcoded insights about them.
  • Build canonical customers.
  • No matching of transactions between PayEngine and Rutter.
  • Support multiple payment gateways for a tenant via “merchant per gateway” structure only, multi-gateways PayEngine mode is out of scope (TODO re-access after https://github.com/Twill-AI/twill-analytics/issues/31).

Implementation Notes

Dash adds notes here while working

Link to people, meetings, dependent tickets